﻿using System;
using System.Collections.Generic;
using System.Text;
using StockTrader.BusinessService.DataContract.HnxInfo;

namespace StockTrader.DAL.IDAL.HnxInfo
{
    public interface IHnxDeal
    {
        void Open(string connString);
        void Close();


        List<HnxDealData> getHnxNewDeals(decimal timeStamp);
        List<HnxDealData> getHnxAllDeals();
        List<HnxDealData> countHnxDeals();
        void deleteHnxDeals();
        void insertHnxNewDeal(HnxDealData deal);
        List<HnxDealData> getHnxLastDeals(long timestamp);
    }
}
